from flask import Flask
from flask_migrate import Migrate, MigrateCommand
from flask_script import Shell, Manager
from flaskAdminApp.models import datadb
from flaskAdminApp import db,app

migrate = Migrate(app, db)
manager = Manager(app)

manager.add_command('db', MigrateCommand)

if __name__ == '__main__':
    manager.run()
